//
//  UITextView+OSCEmoticon.h
//  OSChina
//
//  Created by 8b410-2 on 17/1/7.
//  Copyright © 2017年 abb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OSCEmoticonAttachment.h"

typedef NS_ENUM(NSInteger,OSCEmoticonStringType) {
    OSCEmoticonStringTypeChs,
    OSCEmoticonStringTypeImageName
};

@interface UITextView (OSCEmoticon)

- (void)insertEmoticon:(OSCEmoticon *)emoticon font:(UIFont *)font;

- (NSString *)stringFromEmoticonAttributedWithType:(OSCEmoticonStringType)type;

@end
